package com.woniuxy.dudugua.service;

import com.woniuxy.dudugua.entity.Product;

import com.woniuxy.dudugua.entity.ProductExample;
import com.woniuxy.dudugua.util.view.ProView;
import com.woniuxy.dudugua.util.view.ProductInfoView;
import com.woniuxy.dudugua.util.view.ProductView;
import com.woniuxy.dudugua.util.view.StoreNavBar;

import java.util.List;
import java.util.Map;

public interface ProductService {


    public int insertProduct(Product product);
    public ProductInfoView getProductById(Integer id);
    public long countByExample(Map<String,Object> params);
    public List<ProductView> selectByExample(Map<String,Object> params);
    public List<ProView> getPro();
    public Product getMax();
}
